package com.open.pokergames.conn.bean;

public class Message {

    public static final int TYPE_BROADCAST = 0;
    public static final int TYPE_PERSON = 1;
    public static final int TYPE_ROOM = 2;
    public static final int TYPE_GROUP = 3;
    public static final int TYPE_CLUB = 5;

    public Message() {
    }

    public Message(int t, String b) {
        this.type = t;
        this.body = b;
    }

    // type
    private int type;

    // body
    private String body;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }
}
